import Layout from '@/layouts';

export default [
  {
    path: '/kjsf',
    component: Layout,
    redirect: '/kjsf/home',
    meta: {
      // title: '科技示范工程',
      title: '示范工程',
      isOrNot: true,
      // icon: 'view-module',
    },
    children: [
      {
        path: 'home',
        component: () => import('@/pages/kjsf/home.vue'),
        meta: {title: '首页', icon: 'view-module'},
      },
      {
        path: 'project',
        redirect: '/kjsf/project/project-index',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: '申报管理', icon: 'view-module'},
        children: [
          {
            path: 'project-index',
            component: () => import('@/pages/kjsf/apply/project-index.vue'),
            meta: { title: '申报列表'},
          },
          {
            path: 'project-my',
            component: () => import('@/pages/kjsf/apply/project-my.vue'),
            meta: { title: '我的申报'},
          },
          {
            path: 'project-apply',
            component: () => import('@/pages/kjsf/apply/project-apply.vue'),
            meta: { title: '申报项目',hidden:true,activeMenu:"/kjsf/project/project-my"},
          },
        ]
      },
      {
        path: 'projectManage',
        redirect: '/kjsf/projectManage/list',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: '项目管理', icon: 'view-module'},
        children: [
          {
            path: 'list',
            component: () => import('@/pages/kjsf/project/project-index.vue'),
            meta: { title: '项目列表'},
          },
          {
            path: 'project-manage-my',
            component: () => import('@/pages/kjsf/project/project-my.vue'),
            meta: { title: '我的项目'},
          },
        ]
      },
      {
        path: 'approve',
        redirect: '/kjsf/approve/approve-my',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: '审批管理', icon: 'view-module'},
        children: [
          {
            path: 'approve-my',
            component: () => import('@/pages/kjsf/approve/approve-my.vue'),
            meta: { title: '待我审批记录'},
          },
          {
            path: 'approved-my',
            component: () => import('@/pages/kjsf/approve/approved-my.vue'),
            meta: { title: '我已审批记录'},
          },
        ]
      },
      {
        path: 'review',
        redirect: '/kjsf/indicator/approve-my',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: '评审管理', icon: 'view-module'},
        children: [
          // {
          //   path: 'review-standard',
          //   component: () => import('@/pages/kjsf/indicator/indicator-list.vue'),
          //   meta: { title: '评审指标体系'},
          // },
          // {
          //   path: 'indicator-add',
          //   component: () => import('@/pages/kjsf/indicator/indicator-add.vue'),
          //   meta: { title: '申报标准', hidden: true, activeMenu: '/kjsf/indicator/indicator-list'},
          // },
        ]
      },
      {
        path: 'defend1',
        redirect: '/kjsfgc/defend1/defend1',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: '立项管理', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '建议书管理'},
          },
          {
            path: 'defend2',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '实施方案管理'},
          },
          {
            path: 'defend3',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '立项验查管理'},
          },
        ]
      },
      {
        path: 'implement',
        // name: 'DefendCustomer',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/kjsfgc/implement/defend1',
        meta: { title: '实施管理', icon: 'view-module'},
        children: [
          {
            path: 'implement-list',
            component: () => import('@/pages/kjsf/implement/implement-plan-index.vue'),
            meta: { title: '实施方案列表'},
          },
          {
            path: 'implement-my',
            component: () => import('@/pages/kjsf/implement/implement-plan-my.vue'),
            meta: { title: '我的实施方案'},
          },
          {
            path: 'defend1',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '进度跟踪'},
          },
          {
            path: 'defend2',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '过程监督'},
          },
          {
            path: 'defend3',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '项目变更'},
          },
          {
            path: 'defend4',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '技术交流'},
          },
          {
            path: 'defend5',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '成果转换'},
          },
          {
            path: 'defend6',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '延期申请'},
          },
          {
            path: 'defend7',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '项目终止'},
          },
        ]
      },
      {
        path: 'defend3',
        // name: 'DefendCustomer',
        component: () => import('@/layouts/blank.vue'),
        redirect: '/kjsfgc/defend3/defend1',
        meta: { title: '验收管理', icon: 'view-module'},
        children: [
          {
            path: 'defend1',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '预验收管理'},
          },
          {
            path: 'defend2',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '正式验收申请'},
          },
          {
            path: 'defend3',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '验收评审'},
          },
          {
            path: 'defend4',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '验收整改'},
          },
          {
            path: 'defend5',
            // name: 'DefendCustomer',
            component: () => import('@/pages/blank.vue'),
            meta: { title: '验收处置'},
          },
        ]
      },
    ],

  },

];
